#pragma once

#include "ugctrl.h"
#include "GridParameter.h"

//class CUltimateGrid
//{
//public:
//	CUltimateGrid(void);
//	virtual ~CUltimateGrid(void);
//};

class CUltimateGrid:public CUGCtrl
{

public:

	CUltimateGrid();
	~CUltimateGrid();

	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	//}}AFX_VIRTUAL


	//{{AFX_MSG(CUltimateGrid)
	// NOTE - the ClassWizard will add and remove member functions here.
	//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	virtual void OnSetup(CGridParameter &oGridParameter);

	void RowSum(CGridParameter &oGridParameter);
	void ColumnSum();

};